package info.webest.media.actionbar;

public class SpinnerModeItem {

	
	 private String title;
	    private int icon;
	     
	    public SpinnerModeItem(String title, int icon){
	        this.title = title;
	        this.icon = icon;
	    }
	     
	    public String getTitle(){
	        return this.title;     
	    }
	     
	    public int getIcon(){
	        return this.icon;
	    }
	    
/*	    
		// Title navigation Spinner data
		ArrayList<SpinnerModeItem> spnMode = new ArrayList<SpinnerModeItem>();

		// Navigation adapter
		SpinnerModeAdapter adapter;

		// action bar
		ActionBar actionBar = getSupportActionBar();

		// Hide the action bar title
		actionBar.setDisplayShowTitleEnabled(false);

		// Enabling Spinner dropdown navigation
		actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);

		// Spinner title navigation data
		spnMode.add(new SpinnerModeItem("Music", R.drawable.ic_mode_audio));
		spnMode.add(new SpinnerModeItem("Audio Book",
				R.drawable.ic_mode_audio_book));
		spnMode.add(new SpinnerModeItem("Dictaphone",
				R.drawable.ic_mode_audio_record));
		spnMode.add(new SpinnerModeItem("Video", R.drawable.ic_mode_video));
		spnMode.add(new SpinnerModeItem("Camera",
				R.drawable.ic_mode_video_record));

		// title drop down adapter
		adapter = new SpinnerModeAdapter(getApplicationContext(), spnMode);

		// assigning the spinner navigation
		actionBar.setListNavigationCallbacks(adapter, this);

		// Overflow menu
		// getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
		actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP
				| ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME);

*/	    
}
